package com.project.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * 频道实体类
 */
public class ChannelBane {
    /**编号*/
    private int id;
    /**频道名称*/
    private String name;
    /**频道描述*/
    private String describe;
    /**主贴数量*/
    private Integer themeNum;
    /**主贴集合*/
    private List<InvitationBane> list;

    public ChannelBane() {
    }

    public ChannelBane(String name, String describe, Integer themeNum, List<InvitationBane> list) {
        this.name = name;
        this.describe = describe;
        this.themeNum = themeNum;
        this.list = list;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public Integer getThemeNum() {
        return themeNum;
    }

    public void setThemeNum(Integer themeNum) {
        this.themeNum = themeNum;
    }

    public List<InvitationBane> getList() {
        return list;
    }

    public void setList(List<InvitationBane> list) {
        this.list = list;
    }

    @Override
    public String toString() {
        return "ChannelBane{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", describe='" + describe + '\'' +
                ", themeNum=" + themeNum +
                ", list=" + list +
                '}';
    }
}
